package com.yue.design.composite;

public class MyFile extends MyDirectory {
    public MyFile(String name) {
        super(name);
    }

    @Override
    public void show() {
        System.out.println(name);
    }
}
